using System;
using System.Collections.Generic;
using System.Text;
using Tester.Forms;

namespace Tester.GuiActions.Actions.Impl
{
    public class AcceleratorAction : BaseAction
    {
        public override bool Visible
        {
            get
            {
                return TesterMainForm.Instance.TopControl != EmbededControlTags.Settings; 
            }
        }

        public override void MainAction(object sender, EventArgs e)
        {
            Accelerator control = new Accelerator();
            TesterMainForm.Instance.PushControl(control);
        }
    }
}
